<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<c:set var="path" value="${pageContext.request.contextPath}"/>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <script language="javascript" src="${path}/js/jquery-3.2.1.min.js"></script>
    <script language="javascript" src="${path}/js/listDept.js"></script>
    <script language="javascript" src="${path}/js/table.js"></script>
    <link rel="stylesheet" href="${path}/css/table.css" type="text/css"/>
    <title>部门列表</title>
</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td height="30" background="${path}/pages/tab/images/tab_05.gif">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td width="12" height="30"><img src="${path}/pages/tab/images/tab_03.gif" width="12" height="30"/>
                    </td>
                    <td>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td width="46%" valign="middle">
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td width="5%">
                                                <div align="center"><img src="${path}/pages/tab/images/tb.gif"
                                                                         width="16" height="16"/></div>
                                            </td>
                                            <td width="95%" class="STYLE1"><span class="STYLE3">你当前的位置</span>：[部门管理]-[部门列表]
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                                <td width="54%">
                                    <table border="0" align="right" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td width="60">
                                                <table width="87%" border="0" cellpadding="0" cellspacing="0">
                                                    <tr>
                                                        <td class="STYLE1">
                                                            <div align="center">
                                                                <input type="checkbox" name="checkbox62"
                                                                       value="checkbox"/>
                                                            </div>
                                                        </td>
                                                        <td class="STYLE1">
                                                            <div align="center">全选</div>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                            <td width="60">
                                                <table width="90%" border="0" cellpadding="0" cellspacing="0">
                                                    <tr>
                                                        <td class="STYLE1">
                                                            <div align="center"><img
                                                                    src="${path}/pages/tab/images/22.gif" width="14"
                                                                    height="14"/></div>
                                                        </td>
                                                        <td class="STYLE1">
                                                            <div align="center">新增</div>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                            <td width="60">
                                                <table width="90%" border="0" cellpadding="0" cellspacing="0">
                                                    <tr>
                                                        <td class="STYLE1">
                                                            <div align="center"><img
                                                                    src="${path}/pages/tab/images/33.gif" width="14"
                                                                    height="14"/></div>
                                                        </td>
                                                        <td class="STYLE1">
                                                            <div align="center">修改</div>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                            <td width="52">
                                                <table width="88%" border="0" cellpadding="0" cellspacing="0">
                                                    <tr>
                                                        <td class="STYLE1">
                                                            <div align="center"><img
                                                                    src="${path}/pages/tab/images/11.gif" width="14"
                                                                    height="14"/></div>
                                                        </td>
                                                        <td class="STYLE1">
                                                            <div align="center">删除</div>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td width="16"><img src="${path}/pages/tab/images/tab_07.gif" width="16" height="30"/></td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td width="8" background="${path}/pages/tab/images/tab_12.gif">&nbsp;</td>
                    <td>
                        <table id="deptDataTable" width="100%" border="0" cellpadding="0" cellspacing="1"
                               bgcolor="b5d6e6"
                               onmouseover="changeto()" onmouseout="changeback()">

                            <tr>
                                <td width="3%" height="22" background="${path}/pages/tab/images/bg.gif"
                                    bgcolor="#FFFFFF">
                                    <div align="center">
                                        <input type="checkbox" name="checkbox" value="checkbox"/>
                                    </div>
                                </td>
                                <td width="3%" height="22" background="${path}/pages/tab/images/bg.gif"
                                    bgcolor="#FFFFFF">
                                    <div align="center"><span class="STYLE1">序号</span></div>
                                </td>
                                <td width="12%" height="22" background="${path}/pages/tab/images/bg.gif"
                                    bgcolor="#FFFFFF">
                                    <div align="center"><span class="STYLE1">部门名称</span></div>
                                </td>
                                <td width="18%" background="${path}/pages/tab/images/bg.gif" bgcolor="#FFFFFF">
                                    <div align="center"><span class="STYLE1">部门负责人</span></div>
                                </td>
                                <td width="23%" height="22" background="${path}/pages/tab/images/bg.gif"
                                    bgcolor="#FFFFFF">
                                    <div align="center"><span class="STYLE1">部门简介</span></div>
                                </td>
                                <td width="15%" height="22" background="${path}/pages/tab/images/bg.gif"
                                    bgcolor="#FFFFFF">
                                    <div align="center"><span class="STYLE1">创建时间</span></div>
                                </td>
                                <td width="15%" height="22" background="${path}/pages/tab/images/bg.gif"
                                    bgcolor="#FFFFFF" class="STYLE1">
                                    <div align="center">基本操作</div>
                                </td>
                            </tr>

                            <%--循环列表数据--%>
                            <%--<c:if test="${fn:length(depts)>0}">--%>
                            <%--<c:forEach var="dept" items="${depts}" varStatus="ind">--%>
                            <%--<tr>--%>
                            <%--<td width="3%" height="22" background="${path}/pages/tab/images/bg.gif"--%>
                            <%--bgcolor="#FFFFFF">--%>
                            <%--<div align="center">--%>
                            <%--<input type="checkbox" name="checkbox" value="checkbox"/>--%>
                            <%--</div>--%>
                            <%--</td>--%>
                            <%--<td width="3%" height="22" background="${path}/pages/tab/images/bg.gif"--%>
                            <%--bgcolor="#FFFFFF">--%>
                            <%--<div align="center"><span class="STYLE1">${ind.index+1}</span></div>--%>
                            <%--</td>--%>
                            <%--<td width="12%" height="22" background="${path}/pages/tab/images/bg.gif"--%>
                            <%--bgcolor="#FFFFFF">--%>
                            <%--<div align="center"><span class="STYLE1">${dept.deptName}</span></div>--%>
                            <%--</td>--%>
                            <%--<td width="18%" background="${path}/pages/tab/images/bg.gif" bgcolor="#FFFFFF">--%>
                            <%--<div align="center"><span class="STYLE1">${dept.deptManage}</span></div>--%>
                            <%--</td>--%>
                            <%--<td width="23%" height="22" background="${path}/pages/tab/images/bg.gif"--%>
                            <%--bgcolor="#FFFFFF">--%>
                            <%--<div align="center"><span class="STYLE1">${dept.deptDiscripte}</span></div>--%>
                            <%--</td>--%>
                            <%--<td width="15%" height="22" background="${path}/pages/tab/images/bg.gif"--%>
                            <%--bgcolor="#FFFFFF">--%>
                            <%--<div align="center"><span class="STYLE1">${dept.regDate}</span></div>--%>
                            <%--</td>--%>
                            <%--<td width="15%" height="22" background="${path}/pages/tab/images/bg.gif"--%>
                            <%--bgcolor="#FFFFFF" class="STYLE1">--%>
                            <%--<div align="center">基本操作</div>--%>
                            <%--</td>--%>
                            <%--</tr>--%>
                            <%--</c:forEach>--%>
                            <%--</c:if>--%>
                        </table>
                    </td>
                    <td width="8" background="${path}/pages/tab/images/tab_15.gif">&nbsp;</td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td height="35" background="${path}/pages/tab/images/tab_19.gif">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td width="12" height="35"><img src="${path}/pages/tab/images/tab_18.gif" width="12" height="35"/>
                    </td>
                    <td>
                        <table id="pageTable" width="100%" border="0" cellspacing="0" cellpadding="0">
                            <%--<tr>--%>
                                <%--<td class="STYLE4">&nbsp;&nbsp;共有${totalRecord}条记录，当前第 ${currentPage}/${totalPage} 页--%>
                                <%--</td>--%>
                                <%--<td>--%>
                                    <%--<table border="0" align="right" cellpadding="0" cellspacing="0">--%>
                                        <%--<tr>--%>
                                            <%--<td width="40"><a--%>
                                                    <%--href="/ListServlet?type=dept&ptype=firstPage&currentpage=${currentPage}"><img--%>
                                                    <%--src="${path}/pages/tab/images/first.gif" width="37"--%>
                                                    <%--height="15"/></a></td>--%>
                                            <%--<td width="45"><a--%>
                                                    <%--href="/ListServlet?type=dept&ptype=prePage&currentpage=${currentPage}"><img--%>
                                                    <%--src="${path}/pages/tab/images/back.gif" width="43"--%>
                                                    <%--height="15"/></a></td>--%>
                                            <%--<td width="45"><a--%>
                                                    <%--href="/ListServlet?type=dept&ptype=nextPage&currentpage=${currentPage}"><img--%>
                                                    <%--src="${path}/pages/tab/images/next.gif" width="43"--%>
                                                    <%--height="15"/></a></td>--%>
                                            <%--<td width="40"><a--%>
                                                    <%--href="/ListServlet?type=dept&ptype=endPage&currentpage=${currentPage}"><img--%>
                                                    <%--src="${path}/pages/tab/images/last.gif" width="37"--%>
                                                    <%--height="15"/></a></td>--%>
                                            <%--<td width="100">--%>
                                                <%--<div align="center"><span class="STYLE1">转到第--%>
                    <%--<input name="gopage" id="gopage" type="text"--%>
                           <%--onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}"--%>
                           <%--onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}"--%>
                           <%--style="height:12px; width:20px; border:1px solid #999999;"/>--%>
                    <%--页</span></div>--%>
                                            <%--</td>--%>
                                            <%--<td width="40"><a href="javascript:void(0)" onclick="goPage()"><img--%>
                                                    <%--src="${path}/pages/tab/images/go.gif"--%>
                                                    <%--width="37"--%>
                                                    <%--height="15"/></a></td>--%>
                                        <%--</tr>--%>
                                    <%--</table>--%>
                                <%--</td>--%>
                            <%--</tr>--%>
                        </table>
                    </td>
                    <td width="16"><img src="${path}/pages/tab/images/tab_20.gif" width="16" height="35"/></td>
                </tr>
            </table>
        </td>
    </tr>
</table>
</body>
</html>